package com.kingyun.gpsinspection.purificationservice.dao.mapper.som;


import com.kingyun.gpsinspection.purificationservice.facade.model.som.OrderCount;
import com.kingyun.gpsinspection.purificationservice.facade.model.som.WorkOrder;

import java.util.List;

/**
 * Created by yangcs on 2017/3/24.
 */
public interface OrderCountMapper {

    /**
     * 根据工单的任务类型统计工单数量
     * @param workOrder
     * @return
     */
    List<OrderCount> orderTaskTypeCount(WorkOrder workOrder);

    /**
     * 工单树立统计列表
     * @param workOrder
     * @return
     */
    List<OrderCount> selectOrderCountList(WorkOrder workOrder);

    /**
     * 整体完成未完成饼图统计
     * @param workOrder
     * @return
     */
    List<OrderCount> orderStatusCount(WorkOrder workOrder);

}
